'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.post('/dict/list',controller.dict.list)
  router.post('/dict/tree',controller.dict.tree)
  router.post('/dict/organ',controller.dict.organ)
  router.post('/dict/organ/list',controller.dict.organList)
};
